home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / art&graf.ix / art-3412 / chaos / chaos.asc next >
Text File  |  1989-08-06  |  3KB  |  84 lines

  1.  
  2.                           The Chaos Game
  3.                            (CHAOS.TOS)
  4.  
  5.                                 by
  6.  
  7.                           Chuck Grimsby
  8.  
  9.  
  10.      This program was inspired by the "Chaos Game" as presented on 
  11. the PBS show: NOVA: The Strange New Science of Chaos.
  12.  
  13.      It's a rather simple game. You start by taking a large peice 
  14. of paper. In the upper lefthand corner you make a dot and mark it 
  15. "1,2". In the upper righthand corner you make another dot marking 
  16. this one "3,4", finaly, on the bottom of the page, centered, you 
  17. mark another dot, this one named "5,6".
  18.  
  19.      Now pick any spot on the page at random. Just wave a pencil 
  20. over the page with your eyes closed then drop it to the page. This 
  21. is your starting point.
  22.  
  23.      Well, that was exciting, wasn't it. Ok, it's time to "play" 
  24. the game. Roll a die (a "die" is one of a pair of dice). If you 
  25. roll a 1 or a two, find the midpoint between the starting point 
  26. and the 1,2 mark and draw a line to it. Do the same if you rolled 
  27. a 3 or a 4 except go towards the 3,4 mark, or if you rolled a 5 or 
  28. a 6 towards the 5,6 mark. Simple, eh?
  29.  
  30.      Now continue on from the point you drew to above.
  31.  
  32.      Supposedly, according to the people who are now examining 
  33. "Chaos" mathamaticly, if you do this long enough you'll eventualy 
  34. discover some sort of pattern.
  35.  
  36.      Well, you lucky ST owner, now instead of doing this on paper 
  37. a "wasting" lots of time, now there's this program.
  38.  
  39.      Unlike the game I discribed above, this program will do the 
  40. game with either 3 or 4 "marks" or corners. It will also either 
  41. draw a line between the points or just simply Plot the points. You 
  42. can also vary the "midpoint" so that instead of using the halfway 
  43. point you can use the 1/3 or whatever distance. Just for fun, I 
  44. also threw in "Random". With each "die roll" the distance is also 
  45. rolled so that it's constantly changing. Of what value this is to 
  46. "Chaos mathamaticians" is unknown (probably none), but it's there 
  47. if you're interested.
  48.  
  49.      When the program is running, there are four keys you can use.
  50. The <Esc> key will stop the run and allow you to enter in new 
  51. values. This will also clear the screen.
  52.  
  53.      The Clr/Home key just does a simple clear screen. The values 
  54. the program is using are not changed.
  55.  
  56.      The Undo key exits the program.
  57.  
  58.      The space bar will send the program into a endless loop 
  59. until another key is pressed. This is for those of you who want to 
  60. "Snap Shot" the screen for whatever reason.
  61.  
  62.      The program _should_ work in all three resolutions. I've 
  63. tested both Low and Medium, but since I don't have a High res 
  64. monitior I can't test that. The code _IS_ there for mono users 
  65. though.
  66.  
  67. Enjoy!
  68.  
  69. If yoy want to contact me for whatever reason, I can be reached 
  70. via at the following addresses:
  71.  
  72. Chuck Grimsby
  73. ST Wholsellers BBS (612-374-5307)
  74. F-NET Node 262
  75. CompuServe 73217,1363
  76. GEnie      C.GRIMSBY
  77.  
  78. or via U.S. "snail" mail:
  79. c/o
  80. Alpha-Tech Computers
  81. 2901 Wayzata Blvd.
  82. Minneapolis, MN 55405
  83.  
  84.